<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isErrorPage="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="path" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>错误</title>
<style type="text/css">
body {
padding: 50px;
}
</style>
<link rel="stylesheet" href="${path }/static/bootstrap.min.css" />
<script src="${path }/static/jquery.min.js"></script>
<script src="${path }/static/js/bootstrap.min.js"></script>
</head>
<body>
<jsp:include page="/head"></jsp:include>
<div class="jumbotron">
<center>
  <span style="font-size:100px;">出错啦!</span>
  <p><a class="btn btn-primary btn-lg" href="<c:url value="/index"/>" role="button">返回首页</a></p>
</center>
</div>
<c:if test="${not empty exmsg }">
<div class="alert alert-danger">
  <a class="close" data-dismiss="alert"></a>
  <strong>${exmsg }</strong>
</div>
</c:if>
<c:if test="${not empty exmsg }">
<div class="alert alert-success">
  <a class="close" data-dismiss="alert"></a>
  <strong>错误信息：</strong>${ex }
</div>
</c:if>
<!-- <div class="alert alert-info">
  <a class="close" data-dismiss="alert"></a>
  <strong>Info!</strong>Watch this, but you may forget.
</div> -->
	<br/>
</body>

</html>